package com.heqiang.model.manage.request;


import com.heqiang.model.manage.Admin;

public class AdminVo extends Admin {

    private String roleName;//角色名称
    private String statusStr;//角色名称


    public String getStatusStr() {
        if (this.getStatus()== STATUS.OPEN){
            return "开启";
        }
        if (this.getStatus()== STATUS.CLOSE){
            return "关闭";
        }
        return "--";
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public String getRoleName()  {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
